fi
+# MIN_QT_VERSION in configure.ac should correspond to the QT_VERSION_CHECK arguments in main.cc and gui/main.cc
MIN_QT_VERSION=5.7
if test "$QMAKE" = "no"; then :
AC_CHECK_TOOLS(LUPDATE, [lupdate-qt5 lupdate])
AC_CHECK_TOOLS(LRELEASE, [lrelease-qt5 lrelease])
+# MIN_QT_VERSION in configure.ac should correspond to the QT_VERSION_CHECK arguments in main.cc and gui/main.cc
MIN_QT_VERSION=5.7
AS_IF([test "$QMAKE" = "no"], [
AC_MSG_ERROR([Qt qmake (with QT_VERSION >= $MIN_QT_VERSION) is required but was not found.])
//------------------------------------------------------------------------
int main(int argc, char**argv)
{
-#if (QT_VERSION < QT_VERSION_CHECK(5, 2, 0))
+# MIN_QT_VERSION in configure.ac should correspond to the QT_VERSION_CHECK arguments in main.cc and gui/main.cc
+#if (QT_VERSION < QT_VERSION_CHECK(5, 7, 0))
#error this version of Qt is not supported.
#endif
(void) new gpsbabel::UsAsciiCodec(); /* make sure a US-ASCII codec is available */
-#if (QT_VERSION < QT_VERSION_CHECK(5, 2, 0))
+# MIN_QT_VERSION in configure.ac should correspond to the QT_VERSION_CHECK arguments in main.cc and gui/main.cc
+#if (QT_VERSION < QT_VERSION_CHECK(5, 7, 0))
#error This version of Qt is not supported.
#endif